package com.s59.kaptcha;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Controller;

@Data
@Controller
@ConfigurationProperties(prefix = "kaptcha")
public class KaptchaProperties {
    private int imageWidth = 100;
    private int imageHeight  = 40;
    private int textproducerFontSize = 32;
    private String textproducerFontColor = "0,0,0";
    private String textproducerCharString = "0123456789ABCDEFGHIJKLMNOPQRSTUVWSYZ";
    private int textproducerCharLength = 4;
    private String noiseImpl = "com.google.code.kaptcha.impl.DefaultNoise";
}

